
// <copyright file="SelfFormattingStringBuilder.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   The self formatting string builder.
// </summary>

namespace SubhadraSolutions.Sharp.Utils.Text
{
    using System.Text;

    using SubhadraSolutions.Sharp.Utils.Collections.Generic;

    /// <summary>
    /// The self formatting string builder.
    /// </summary>
    public class SelfFormattingStringBuilder
    {
        #region Fields

        /// <summary>
        /// The braces.
        /// </summary>
        private Pair<char, char>[] _braces;

        /// <summary>
        /// The sb.
        /// </summary>
        private StringBuilder _sb = new StringBuilder();

        #endregion Fields

        #region Constructors and Finalizers

        /// <summary>
        /// Initializes a new instance of the <see cref="SelfFormattingStringBuilder"/> class.
        /// </summary>
        /// <param name="braces">
        /// The braces.
        /// </param>
        public SelfFormattingStringBuilder(params Pair<char, char>[] braces)
        {
            this._braces = braces;
        }
        
        #endregion Constructors and Finalizers
    }
}
